package com.xique.door.project.miniprogram.bean.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author shd
 * @create 2022/4/20 14:09
 */
@Data
public class MiniOpenDoorRequest {

    @NotNull(message = "房屋id不能为空")
    private Long houseId;

    @NotNull(message = "设备id不能为空")
    private Long deviceId;

    @NotBlank(message = "设备sn不能为空")
    private String devSn;

    @NotNull(message = "parkId不能为空")
    private Long parkId;

}
